/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package us.oh.k12.wkw.robot.command;

/**
 *
 * @author Team4145
 */
public class LauncherStopFireCmd extends CommandBase{
    
     public LauncherStopFireCmd() {
        super("LauncherStopFireCmd");
        this.requires(this.getLaunchFrisbeeSystem());

    }

    protected void execute() {

        try {

           
            this.getLaunchFrisbeeSystem().turnOffShootMotor();
            this.getLaunchFrisbeeSystem().turnOffIndexMotor();
            this.getLaunchFrisbeeSystem().plungerRetract();


        } catch (Exception anEx) {
            this.error("execute()", anEx);
        }

    }

    protected boolean isFinished() {
        return true;
    }
}

